import django.newforms as forms

#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.

"""This module contains form widgets specific to glp."""

__author__ = 'alyssad@google.com (Alyssa Daw)'


class CheckboxSelectMultiple(forms.widgets.CheckboxSelectMultiple):

  def value_from_datadict(self, data, name):
    if data.has_key(name):
      return data.getall(name)
    return []
